// samsting : this file is auto create.

#include "Drds/2015-04-13/CreateDrdsInstanceResponse.h"

namespace aliyun { namespace Drds {

CreateDrdsInstanceResponse::CreateDrdsInstanceResponse() {
}

const std::vector<DrdsInstanceId>& CreateDrdsInstanceResponse::Data::GetDrdsInstanceIdList(void) const {
  return DrdsInstanceIdList_;
}

int64 CreateDrdsInstanceResponse::Data::GetOrderId(void) const {
  return OrderId_;
}

const CreateDrdsInstanceResponse::Data& CreateDrdsInstanceResponse::GetData(void) const {
  return Data_;
}

bool CreateDrdsInstanceResponse::GetSuccess(void) const {
  return Success_;
}

const char* CreateDrdsInstanceResponse::BaseKey(void) {
  return "CreateDrdsInstanceResponse";
}

void CreateDrdsInstanceResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  UnmarshallerBool(Success_, response_map, "CreateDrdsInstanceResponse.Success");
    int Data__DrdsInstanceIdList__length = 0;
    UnmarshallerInt(Data__DrdsInstanceIdList__length, response_map, "CreateDrdsInstanceResponse.Data.DrdsInstanceIdList.Length");
    if(Data__DrdsInstanceIdList__length >= 0) {
      Data_.DrdsInstanceIdList_.resize(Data__DrdsInstanceIdList__length);
      for(int i2 = 0; i2 < Data__DrdsInstanceIdList__length; i2++) {
        UnmarshallerString(Data_.DrdsInstanceIdList_[i2], response_map, "CreateDrdsInstanceResponse.Data.DrdsInstanceIdList["+string_ValueOfInt(i2)+"]");
      } // for(int i2 = 0; i2 < Data__DrdsInstanceIdList__length; i2++) {
    } // if(Data__DrdsInstanceIdList__length >= 0) {

    UnmarshallerInt64(Data_.OrderId_, response_map, "CreateDrdsInstanceResponse.Data.OrderId");
}


} } // namespace aliyun { namespace Drds {

// end of file 
